package mappedClass;

// Generated 3 juil. 2014 12:40:01 by Hibernate Tools 3.4.0.CR1

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Parameter;


/**
 * Winaproachrecord generated by hbm2java
 */
@Entity
@Table(name = "winaproachrecord", catalog = "test")
@PrimaryKeyJoinColumn(name="id")
public class WinaproachRecord extends Task {

	private String name;
	private Integer recordNumber;

	public WinaproachRecord() {
	}


	public WinaproachRecord(TypeTask taskType, String desc, String name, Integer recordNumber) {
		super (taskType, desc);
		this.name = name;
		this.recordNumber = recordNumber;
	}

	@Column(name = "name")
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "recordNumber")
	public Integer getRecordNumber() {
		return this.recordNumber;
	}

	public void setRecordNumber(Integer recordNumber) {
		this.recordNumber = recordNumber;
	}

}
